<template>
  <div class="service">
    <div class="container">
      <ul>
        <li><span class="icon-setting"></span>食品安全</li>
        <li><span class="icon-7day"></span>鲜活天然</li>
        <li><span class="icon-15day"></span>产地直采</li>
        <li><span class="icon-post"></span>无忧售后</li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: 'service-bar'
}
</script>

<style lang="scss" scoped>
@import '../assets/scss/config.scss';
@import '../assets/scss/mixin.scss';
@import '../assets/scss/base.scss';

.service {
  padding: 33px 0;
  color: $colorC;
  font-size: 16px;

  li {
    display: inline-block;
    width: 24.9%;
    text-align: center;
    border-right: 1px solid $colorH;
    //letter-spacing: 30px;
    letter-spacing: 10px;

    &:last-child {
      border-right: none;
    }

    span {
      display: inline-block;
      width: 20px;
      height: 20px;
      vertical-align: middle;
      margin-right: 8px;
    }

    .icon-setting {
      @include bgImg(20px, 20px, '../../public/imgs/zhiliangbaozheng.png')
    }

    .icon-7day {
      @include bgImg(20px, 20px, '../../public/imgs/shuye.png')
    }

    .icon-15day {
      @include bgImg(20px, 20px, '../../public/imgs/gouwuche.png')
    }

    .icon-post {
      @include bgImg(20px, 20px, '../../public/imgs/shouhou.png')
    }
  }
}
</style>